GDK W32: Special handling for DELETE requests
authorРуслан Ижбулатов <lrn1986@gmail.com>
Sun, 26 Nov 2017 13:06:24 +0000 (13:06 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 30 Nov 2017 04:17:27 +0000 (04:17 +0000)
commit3fd23fcfd19f412454cd663322196c991a67cadc
tree3aa77f589089ba9eb0c6647192e6b70f7920a809
parent56074fbf3c3bdf760b444c7196c9c4aac659eeee
GDK W32: Special handling for DELETE requests

1) Ensure that any DELETE requests from the target are sent to GDK, even if
   both the source and the target are in the same process and it
   is therefore possible to use a shortcut and call the handler directly
   in GTK layer
2) Ensure that target GDK doesn't do anything when GTK asks it to send
   a DELETE request, just report back immediately (the code up the stack
   does not check for successfullness when request is DELETE, so not giving
   it any data is OK).

The source code already synthesizes a DELETE request, so that side is
also taken care of.

https://bugzilla.gnome.org/show_bug.cgi?id=786509
gdk/win32/gdkselection-win32.c
gtk/gtkselection.c